#ifndef _HCC_ERROR_CODE_MID_SMS_SERVER_H_
#define _HCC_ERROR_CODE_MID_SMS_SERVER_H_

#include "ofc/ofc_types.h"
#include "hcc/hcc_error_code.h"
#include "hcc/hcc_error_code_mid.h"

#ifdef __cplusplus
extern "C" {
#endif

// 不含行号的错误码生成
#define HCC_MAKE_MID_SMS_SERVER_ERROR(error_code) (int)HCC_MAKE_MID_WARE_ERROR(kHccMidSmsServer, error_code, HCC_ERROR_LEVEL_ERROR)
// 含行号的错误码生成
#define HCC_MAKE_MID_SMS_SERVER_ERROR_LINE(error_code) (int)HCC_ERROR(HCC_MAKE_MID_WARE_ERROR(kHccMidSmsServer, error_code, HCC_ERROR_LEVEL_ERROR))


/**
 * SmsServer:短信服务
 */
enum THccMidSmsServerTag
{
	kHccMidSmsServerSuccess	=	HCC_ERROR_SUCCESS,			///< 成功,没有错误
	kHccMidSmsServerInvalidParam	=	HCC_MAKE_MID_SMS_SERVER_ERROR(1),			///<参数无效
	kHccMidSmsServerReCreate	=	HCC_MAKE_MID_SMS_SERVER_ERROR(2),			///<重复创建
	kHccMidSmsServerOperationFailed	=	HCC_MAKE_MID_SMS_SERVER_ERROR(3),			///<操作失败
	kHccMidSmsServerRegFailed	=	HCC_MAKE_MID_SMS_SERVER_ERROR(4),			///<注册失败
	kHccMidSmsServerNotInit	=	HCC_MAKE_MID_SMS_SERVER_ERROR(5),			///<未初始化
};
typedef enum THccMidSmsServerTag THccMidSmsServer;


typedef Int32 THccMidSmsServerLine;
#define kHccMidSmsServerSuccessLine	HCC_ERROR_SUCCESS	///< 成功,没有错误
#define kHccMidSmsServerInvalidParamLine	HCC_MAKE_MID_SMS_SERVER_ERROR_LINE(1)	///<参数无效
#define kHccMidSmsServerReCreateLine	HCC_MAKE_MID_SMS_SERVER_ERROR_LINE(2)	///<重复创建
#define kHccMidSmsServerOperationFailedLine	HCC_MAKE_MID_SMS_SERVER_ERROR_LINE(3)	///<操作失败
#define kHccMidSmsServerRegFailedLine	HCC_MAKE_MID_SMS_SERVER_ERROR_LINE(4)	///<注册失败
#define kHccMidSmsServerNotInitLine	HCC_MAKE_MID_SMS_SERVER_ERROR_LINE(5)	///<未初始化

#ifdef __cplusplus
}  // extern "C"
#endif

#endif // _HCC_ERROR_CODE_MID_SMS_SERVER_H_
/**
 * @
 */
